package community.hospital.service.application;

import community.hospital.entity.Department;
import community.hospital.entity.request.DepartmentRequest;
import community.hospital.entity.request.ListDepartmentRequest;
import community.hospital.entity.response.DepartmentOptionResponse;
import community.hospital.entity.response.DepartmentResponse;
import community.hospital.entity.response.OptionResp;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author yindingjie
 */
public interface DepartmentApplicationService {

    List<DepartmentResponse> listDepartment(ListDepartmentRequest request);

    Boolean addDepartment(DepartmentRequest request);

    Boolean updateDepartment(DepartmentRequest request);

    Boolean removeDepartment(List<Long> ids);

    DepartmentResponse queryById(Long departmentId);


    List<DepartmentOptionResponse> getDepartmentOption(Long hospitalId);

    Boolean updateStatus(DepartmentRequest request);

    List<Department> list1Department();

    List<DepartmentResponse> listAllDepartment();

    List<OptionResp> listByHospitalId(Long hospitalId);

}
